package com.sinosoft.antiques.common;

import java.text.SimpleDateFormat;

public class Constants {

	public static SimpleDateFormat sdf_all = new SimpleDateFormat(
			"yyyy-MM-dd HH:mm:ss");
	public static SimpleDateFormat sdf_day = new SimpleDateFormat("yyyy-MM-dd");
	public static SimpleDateFormat sdf_num = new SimpleDateFormat(
			"yyyyMMddHHmmss");

	public static final short NO = 0;
	public static final short YES = 1;

	// 返回状态常量
	// public static final String SUCCESS = "ok"; //和基础依赖包成功状态标识保持一致
	// public static final String FAILED = "Failed";

	// 登编入库状态
	public static short checkin_ALL = 0;
	public static short checkin_DAI_DENGBIAN = 1;
	public static short checkin_DAI_PAIZHAO = 2;
	public static short checkin_DAI_FENPEI = 3;
	public static short checkin_DAI_RUKU = 4;
	public static short checkin_WANCHENG = 5;
	public static short checkin_SHANCHU = 6;

	// 动态类型
	public static final short DynamicType_RUKU = 1;
	public static final short DynamicType_CHUKU = 2;
	public static final short DynamicType_TUIKU = 3;
	public static final short DynamicType_YIKU = 4;

	// 出退库类型
	public static final short ctk_DAI_CHUKU_YANSHANG = 1;
	public static final short ctk_DAI_CHUKU = 2;
	public static final short ctk_DAI_TUIKU = 3;
	public static final short ctk_DAI_TUIKU_YANSHANG = 4;
	public static final short ctk_BUCHUKU = 5;
	public static final short ctk_WANCHENG = 6;

	// 出退库提交类型
	public static final short ctkCommitType_ckys = 1;
	public static final short ctkCommitType_ck = 2;
	public static final short ctkCommitType_tk = 3;
	public static final short ctkCommitType_tkys = 4;
	public static final short ctkCommitType_bck_ckys = 5;
	public static final short ctkCommitType_bck_ck = 6;
	public static final short ctkCommitType_wc = 7;
	public static final short ctkCommitType_ecty = 8;

	// 出库占用状态
	public static final short occupy_CHUKU = 1;// 已出库
	public static final short occupy_PASS_ALL_EXAMINATION = 2;// 申请通过所有审核
	public static final short occupy_NOT_PASS_ALL_EXAMINATION = 3;// 申请尚未通过审核

	// 出库取消阶段
	public static final String cancelstage_CHUKU = "ck";
	public static final String cancelstage_CHUKUYANSHANG = "ckys";

	// 出馆状态
	public static short ZAI_GUAN = 0;
	public static short CHU_GUAN = 1;

	// 影像上传方式
	public static final int IMPORT_BY_ZDJH = 1;
	public static final int IMPORT_BY_FLH = 2;

	public static final short LOCK = 1;
	public static final short UNLOCK = 0;

	// 操作类型
	public static final int operationtype_DENGBIAN = 1;
	public static final int operationtype_PAIZHAO_SHANGCHUAN = 2;
	public static final int operationtype_FENPEI_KUFANG = 3;
	public static final int operationtype_RUKU = 4;
	public static final int operationtype_CHUKU_YANSHANG = 5;
	public static final int operationtype_CHUKU = 6;
	public static final int operationtype_TUIKU_YANSHANG = 7;
	public static final int operationtype_TUIKU = 8;
	public static final int operationtype_COPY = 9;
	public static final int operationtype_DEL = 10;
	public static final int operationtype_RENEW = 11;
	public static final int operationtype_RETURN_FENPEIKUFANG = 20;
	public static final int operationtype_RETURN_DENGBIAN = 21;
	public static final int operationtype_REUSE = 22;
	public static final int operationtype_CTKWC = 23;
	public static final int operationtype_BCK_CKYS = 24;
	public static final int operationtype_BCK_CK = 25;

	// 影像标志
	public static final short imagetype_CANGPIN = 1;
	public static final short imagetype_WANCAN = 2;

	// 主体
	public static final short zt_CANGPIN = 1;
	public static final short zt_FUSHUWU = 2;
	public static final short zt_CANGPINANDFUSHUWU = 3;

	// 上传类型
	public static final short uploadtype_YINGXIANG = 1;
	public static final short uploadtype_FUJIAN = 2;
	public static final short uploadtype_LSZL = 3;

	// 指静脉验证常量
	public static final String fingerVeinImage_error_VerifyFailed = "W01";
}
